package com.remenote.remenoteback.service;

import com.remenote.remenoteback.entity.resp.ServerResponse;
import com.remenote.remenoteback.entity.vo.UserVo;

public interface UserService{
    ServerResponse<UserVo> login(String username, String password);
    ServerResponse logout();
    ServerResponse validate(String username, String token);
    ServerResponse<UserVo> register(String username, String password);
    ServerResponse joinStudyGroup(String groupName);
    ServerResponse changeNickname(String nickname);
    ServerResponse changePassword(String oldPassword, String newPassword);
}